findByType ( type )
|
ResourceList |
Find documents by type
|
|
updateTypeMappings ( type, mapping )
|
void |
Add or update a single type mapping. The index will be deleted, and prior
existing type mappings restored, and then json docs will be re-indexed
This process is because elastic generally doesnt allow type mappings to
be changed
|
|
updateTypeMappings ( mappings )
|
void |
Add or update type mappings. Each item in the supplied map must have as
its key the type mapping, and its type mapping properties as the value
|
|
updateTypeMappings ( mappings, callback )
|
void |
Add or update type mappings. Each item in the supplied map must have as
its key the type mapping, and its type mapping properties as the value
|
|
reindex ( )
|
void |
|
|
reindex ( callback )
|
void |
|
|
Ask a question, or offer an answer